// 粘性表格样式---超出视口表格头部和滚动条黏在头部和底部 .sticky-box .sticky-table 实例----src\views\salesManage\indentManage\orderInvoice\index.vue
.sticky-box {
  overflow: auto;
  height: calc(100vh - 110px);
  :deep(.el-table.sticky-table) {
    overflow: visible;

    .el-table__header-wrapper {
      position: sticky;
      top: -20px;
      z-index: 999;
    }
    .el-table__body-wrapper {
      overflow: visible;
      .el-scrollbar {
        overflow: visible;
        .el-scrollbar__bar.is-horizontal {
          position: sticky;
          bottom: -20px;
          z-index: 999;

          // .el-scrollbar__thumb{
          //   background-color:#686c74;
          //   opacity:0.8
          // }
        }
      }
    }
  }
}